package com.pgtest;

import com.loanpcase.LPCase;
import com.loanpcase.RLDJ0001;

import java.util.HashMap;
import java.util.Map;

public class PG001Test extends LPCase {
    @Override
    protected String getRequestUrl() {
        return "/PG/PG0001";
    }

    @Override
    protected Map<String, Object> getRequestData() {
        HashMap<String,Object> requestData = new HashMap<String, Object>();

        requestData.put("APP_NO",System.currentTimeMillis());//	VARCHAR2 (32)	询价业务申请编号	是
        requestData.put("CHANNEL_ID","EST03");//	VARCHAR2 (32)	评估公司编码	否
        requestData.put("CITYID","440300");//	VARCHAR2 (6)	城市ID	是 " +
        requestData.put("ESTNAME","振业翠海花园一期");//	VARCHAR2 (100)	楼盘名称	否
        requestData.put("BLONAME","A区A1栋");//	VARCHAR2 (100)	楼栋名称	否
        requestData.put("FLOORNAME","");//	VARCHAR2 (100)	楼层号	否
        requestData.put("HOUSENO","10A");//	VARCHAR2 (20)	单元号	否
        requestData.put("PHANAME","");//	VARCHAR2 (100)	期数名	否
        requestData.put("COVEREDAREA","1000.00");//	Number(18,2)	建筑面积	是
        requestData.put("ESTIMATETIMES","03");//	VARCHAR2 (2)	评估次数	否
        requestData.put("BELONGEDDISTRICT","440304");//	VARCHAR2 (6)	物业所在区	是
        requestData.put("REQSYSID","WX");//	VARCHAR2 (2)	数据来源	是
        requestData.put("COOPER_CODE","wx");//	VARCHAR2 (5)	渠道编号	是
        requestData.put("TLRID","00001");//	VARCHAR2 (8)	客户经理id	是
        requestData.put("TLRNAME","张三");//	VARCHAR2 (50)	客户经理姓名	是
        requestData.put("TLRTEL","13689890909");//	VARCHAR2 (16)	客户经理电话	是
        requestData.put("TLRBNKNO","SZ01");//	VARCHAR2 (10)	客户经理所属机构号	是
        requestData.put("HOUSEAREA","");//	Number(18,2)	套内建筑面积	否
        requestData.put("REGPRICE","");//	Number(18,2)	登记价	否
        requestData.put("RECONSIDERFLG","N");//	CHAR(1)	复议标志	是
        requestData.put("ESTOFFICEID","");//	Number (10)	评估分公司id	否
        requestData.put("ESTID","");//	Number (19)	物业id	否
        requestData.put("PHAID","");//	Number (19)	期数id	否
        requestData.put("BLOID","");//	Number (19)	楼栋id	否
        requestData.put("HOUSEADDR","");//	VARCHAR2 (50)	房屋地址及房号(房地产名称)	是
        requestData.put("COMPLETIONDATE","");//	VARCHAR2 (8)	竣工日期	否
        requestData.put("DEALDATE","19920101");//	VARCHAR2 (8)	购房日期	是
        requestData.put("OWNERTYPE","01");//	STRING(2)	权利人类型（01-个人 02-企业）	否
        requestData.put("TAXFLAG","0");//	VARCHAR(1)	是否算税	否
        return requestData;
    }

    static public void main(String[] args){
	new PG001Test().run("http://22.145.28.160:11008/loanproxy");
      //   new PG001Test().run("http://127.0.0.1:11003/loanproxy");
    }
}
